package com.rop.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rop.model.system.SysLoginLog;
import com.rop.model.vo.SysLoginLogQueryVo;

/**
 * @Title: LoginLogService
 * @Author Rop
 * @Date 2023/5/14 17:05
 * @description: 记录登录日志
 */

public interface SysLoginLogService extends IService<SysLoginLog> {

    void recordLoginLog(String username, String ipAddr, Integer status, String message);

    /**
     * 分页列表查询
     *
     * @param sysLoginLogQueryVo vo
     * @return ""
     */
    IPage<SysLoginLog> selectPage(Long page, Long limit, SysLoginLogQueryVo sysLoginLogQueryVo);
}
